<template>
  <div class="main">
    <div class="bgbox">
      <div class="Carouselbox">
        <el-carousel
          height="38.5vw"
          arrow="always"
          :autoplay="true"
          :interval="3000"
        >
          <el-carousel-item v-for="(image, index) in images" :key="index">
            <el-image
              :src="apiUrl + image.carousel"
              :alt="'Image ' + (index + 1)"
              style="width: 100%;height: 100%;"
              fit="cover"
            />
          </el-carousel-item>
        </el-carousel>
      </div>
  </div>
   <div id="c_static_001-1646102864222">
            <p class="e_text-1 s_title">
                推荐信息
            </p>
            <hr class="e_line-2 s_line">
            <div class="e_loop-3 s_list" needjs="true">
                <div class="">


                    <div class="p_list">
                        <div class="cbox-3 p_loopitem">
                            <div class="e_image-4 s_img">
                                <a href="https://www.57iot.com/Product_Details1/30.html" target="_self">
                                    <img src="../assets/home_files/0a10f5ee-a019-404f-91b7-51e713653d6c.jpg"
                                        alt="遥测终端机（型号：HC-TX90S）" title="遥测终端机（型号：HC-TX90S）" la="la">
                                </a>
                            </div>
                            <div class="e_container-6 s_layout" style="">
                                <div class="cbox-6-0 p_item">
                                    <div class="e_container-13 s_layout">
                                        <div class="cbox-13-0 p_item">
                                            <p class="e_text-11 s_title">
                                                产品中心
                                            </p>
                                            <p class="e_text-8 s_title">
                                                <a href="https://www.57iot.com/Product_Details1/30.html" target="_self">
                                                    遥测终端机（型号：HC-TX90S）
                                                </a>
                                            </p>
                                            <p class="e_text-9 s_title">
                                                HC-TX90S
                                            </p>
                                            <p class="e_text-14 s_title">
                                                <a href="https://www.57iot.com/Product_Details1/30.html" target="_self">
                                                    查看更多 <span style="color:#005aac;">&gt;</span>
                                                </a>
                                            </p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <p class="e_text-23 s_title">
                                <a href="https://www.57iot.com/Product_Details1/30.html" target="_self">
                                    遥测终端机（型号：HC-TX90S）
                                </a>
                            </p>
                        </div>
                        <div class="cbox-3 p_loopitem">
                            <div class="e_image-4 s_img">
                                <a href="https://www.57iot.com/Product_Details1/1.html" target="_self">
                                    <img src="../assets/home_files/da4f5eab-6087-43b2-89e6-834ab064c729.jpg"
                                        alt="雷达流量计（型号：HCRZ-LL100）" title="雷达流量计（型号：HCRZ-LL100）" la="la">
                                </a>
                            </div>
                            <div class="e_container-6 s_layout" style="">
                                <div class="cbox-6-0 p_item">
                                    <div class="e_container-13 s_layout">
                                        <div class="cbox-13-0 p_item">
                                            <p class="e_text-11 s_title">
                                                产品中心
                                            </p>
                                            <p class="e_text-8 s_title">
                                                <a href="https://www.57iot.com/Product_Details1/1.html" target="_self">
                                                    雷达流量计（型号：HCRZ-LL100）
                                                </a>
                                            </p>
                                            <p class="e_text-9 s_title">
                                                HCRZ-LL100
                                            </p>
                                            <p class="e_text-14 s_title">
                                                <a href="https://www.57iot.com/Product_Details1/1.html" target="_self">
                                                    查看更多 <span style="color:#005aac;">&gt;</span>
                                                </a>
                                            </p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <p class="e_text-23 s_title">
                                <a href="https://www.57iot.com/Product_Details1/1.html" target="_self">
                                    雷达流量计（型号：HCRZ-LL100）
                                </a>
                            </p>
                        </div>
                        <div class="cbox-3 p_loopitem">
                            <div class="e_image-4 s_img">
                                <a href="https://www.57iot.com/Product_Details1/27.html" target="_self">
                                    <img src="../assets/home_files/bead2b01-7185-40f3-ad00-65c0559fbb65.jpg"
                                        alt="超声雷达流量计（型号：HC-CSLD100-01）" title="超声雷达流量计（型号：HC-CSLD100-01）" la="la">
                                </a>
                            </div>
                            <div class="e_container-6 s_layout" style="">
                                <div class="cbox-6-0 p_item">
                                    <div class="e_container-13 s_layout">
                                        <div class="cbox-13-0 p_item">
                                            <p class="e_text-11 s_title">
                                                产品中心
                                            </p>
                                            <p class="e_text-8 s_title">
                                                <a href="https://www.57iot.com/Product_Details1/27.html" target="_self">
                                                    超声雷达流量计（型号：HC-CSLD100-01）
                                                </a>
                                            </p>
                                            <p class="e_text-9 s_title">
                                                HC-CSLD100-01
                                            </p>
                                            <p class="e_text-14 s_title">
                                                <a href="https://www.57iot.com/Product_Details1/27.html" target="_self">
                                                    查看更多 <span style="color:#005aac;">&gt;</span>
                                                </a>
                                            </p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <p class="e_text-23 s_title">
                                <a href="https://www.57iot.com/Product_Details1/27.html" target="_self">
                                    超声雷达流量计（型号：HC-CSLD100-01）
                                </a>
                            </p>
                        </div>
                    </div>
                    <div class="p_page">



                    </div>

                </div>
                <input type="hidden" name="_config"
                    value="{&quot;cname&quot;:&quot;产品-产品-产品列表&quot;,&quot;type&quot;:&quot;list&quot;,&quot;params&quot;:{&quot;size&quot;:3,&quot;query&quot;:[{&quot;esField&quot;:&quot;category.id&quot;,&quot;groupEnd&quot;:&quot;1&quot;,&quot;field&quot;:&quot;categoryId&quot;,&quot;sourceType&quot;:&quot;static&quot;,&quot;valueName&quot;:&quot;产品中心&quot;,&quot;dataType&quot;:&quot;string&quot;,&quot;logic&quot;:&quot;and&quot;,&quot;groupBegin&quot;:&quot;1&quot;,&quot;value&quot;:&quot;948171010246799360&quot;,&quot;operator&quot;:&quot;eq&quot;}],&quot;from&quot;:0,&quot;sort&quot;:[]},&quot;valueUrl&quot;:&quot;/fwebapi/product/datasource/143150160001/product/list/param/value&quot;,&quot;_dataFilter&quot;:{&quot;filter&quot;:false,&quot;showCondition&quot;:false,&quot;showSearch&quot;:false,&quot;fields&quot;:[]},&quot;datasourceType&quot;:&quot;nomarl&quot;,&quot;appId&quot;:&quot;143150160001&quot;,&quot;sourceUuid&quot;:&quot;d2f12f858d9f46eeb5b049baa1dffc37&quot;,&quot;pageParams&quot;:[],&quot;metaUrl&quot;:&quot;/fwebapi/product/datasource/143150160001/product/list/meta&quot;,&quot;disabled&quot;:false,&quot;api&quot;:&quot;/fwebapi/product/product/es/findPage?appId=143150160001&amp;templateId=product&quot;,&quot;id&quot;:&quot;datasource1&quot;,&quot;apiId&quot;:&quot;product&quot;,&quot;reqKey&quot;:&quot;/fwebapi/product/product/es/findPage?appId=143150160001&amp;templateId=product|{\&quot;size\&quot;:3,\&quot;query\&quot;:[{\&quot;esField\&quot;:\&quot;category.id\&quot;,\&quot;groupEnd\&quot;:\&quot;1\&quot;,\&quot;field\&quot;:\&quot;categoryId\&quot;,\&quot;sourceType\&quot;:\&quot;static\&quot;,\&quot;valueName\&quot;:\&quot;产品中心\&quot;,\&quot;dataType\&quot;:\&quot;string\&quot;,\&quot;logic\&quot;:\&quot;and\&quot;,\&quot;groupBegin\&quot;:\&quot;1\&quot;,\&quot;value\&quot;:\&quot;948171010246799360\&quot;,\&quot;operator\&quot;:\&quot;eq\&quot;}],\&quot;from\&quot;:0,\&quot;sort\&quot;:[]}|{}&quot;}">
                <input type="hidden" name="view" value="Home">
                <input type="hidden" name="pageParamsJson"
                    value="{&quot;size&quot;:3,&quot;from&quot;:0,&quot;totalCount&quot;:43}">
                <input type="hidden" name="i18nJson"
                    value="{&quot;noMore_3&quot;:&quot;没有更多了&quot;,&quot;noMore_24&quot;:&quot;没有更多了&quot;,&quot;pageItem_24&quot;:&quot;条&quot;,&quot;loadNow_3&quot;:&quot;加载中&quot;,&quot;loadNow_24&quot;:&quot;加载中&quot;,&quot;pageUnit_24&quot;:&quot;页&quot;,&quot;pageJump_24&quot;:&quot;前往&quot;,&quot;pageUnit_3&quot;:&quot;页&quot;,&quot;loadMore_3&quot;:&quot;点击加载更多&quot;,&quot;loadMore_24&quot;:&quot;点击加载更多&quot;,&quot;noData_3&quot;:&quot;暂无数据&quot;,&quot;pageItem_3&quot;:&quot;条&quot;,&quot;pageJump_3&quot;:&quot;前往&quot;,&quot;pageWhole_3&quot;:&quot;共&quot;,&quot;pageWhole_24&quot;:&quot;共&quot;,&quot;noData_24&quot;:&quot;暂无数据&quot;}">

            </div>
            <div class="e_loop-24 s_list" needjs="true">
                <div class="">


                    <div class="p_list">
                        <div class="cbox-24 p_loopitem">
                            <div class="e_image-25 s_img">
                                <img src="../assets/home_files/3734a22e-a002-4e14-b7ba-50aaafb1a022.jpg"
                                    alt="小型水库雨水情测报及大坝安全监测建设介绍" title="小型水库雨水情测报及大坝安全监测建设介绍" la="la">
                            </div>
                            <div class="e_container-26 s_layout">
                                <div class="cbox-26-0 p_item">
                                    <div class="e_container-28 s_layout">
                                        <div class="cbox-28-0 p_item">
                                            <p class="e_text-29 s_title">
                                                解决方案
                                            </p>
                                            <p class="e_text-30 s_title">
                                                <a href="https://www.57iot.com/solution_Details/1.html" target="_self">
                                                    小型水库雨水情测报及大坝安全监测建设介绍
                                                </a>
                                            </p>
                                            <p class="e_text-31 s_title">
                                                <a href="https://www.57iot.com/solution_Details/1.html" target="_self">

                                                </a>
                                            </p>
                                            <p class="e_text-32 s_title">
                                                <a href="https://www.57iot.com/solution_Details/1.html" target="_self">
                                                    查看更多 <span style="color:#005aac;">&gt;</span>
                                                </a>
                                            </p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <p class="e_text-27 s_title">
                                <a href="https://www.57iot.com/solution_Details/1.html" target="_self">
                                    小型水库雨水情测报及大坝安全监测建设介绍
                                </a>
                            </p>
                        </div>
                        <div class="cbox-24 p_loopitem">
                            <div class="e_image-25 s_img">
                                <img src="../assets/home_files/5ed570a4-fbc3-411b-97c4-0457d0b8a477.jpg" alt="大型灌区信息化解决方案"
                                    title="大型灌区信息化解决方案" la="la">
                            </div>
                            <div class="e_container-26 s_layout">
                                <div class="cbox-26-0 p_item">
                                    <div class="e_container-28 s_layout">
                                        <div class="cbox-28-0 p_item">
                                            <p class="e_text-29 s_title">
                                                解决方案
                                            </p>
                                            <p class="e_text-30 s_title">
                                                <a href="https://www.57iot.com/solution_Details/2.html" target="_self">
                                                    大型灌区信息化解决方案
                                                </a>
                                            </p>
                                            <p class="e_text-31 s_title">
                                                <a href="https://www.57iot.com/solution_Details/2.html" target="_self">

                                                </a>
                                            </p>
                                            <p class="e_text-32 s_title">
                                                <a href="https://www.57iot.com/solution_Details/2.html" target="_self">
                                                    查看更多 <span style="color:#005aac;">&gt;</span>
                                                </a>
                                            </p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <p class="e_text-27 s_title">
                                <a href="https://www.57iot.com/solution_Details/2.html" target="_self">
                                    大型灌区信息化解决方案
                                </a>
                            </p>
                        </div>
                    </div>
                    <div class="p_page">



                    </div>

                </div>
                <input type="hidden" name="_config"
                    value="{&quot;cname&quot;:&quot;解决方案-列表接口&quot;,&quot;type&quot;:&quot;list&quot;,&quot;params&quot;:{&quot;size&quot;:2,&quot;query&quot;:[{&quot;esField&quot;:&quot;DETAIL_ES.es_multi_category_6d5k7017&quot;,&quot;groupEnd&quot;:&quot;1&quot;,&quot;field&quot;:&quot;category_6d5k7017&quot;,&quot;sourceType&quot;:&quot;static&quot;,&quot;valueName&quot;:&quot;解决方案&quot;,&quot;dataType&quot;:&quot;array[category]&quot;,&quot;logic&quot;:&quot;and&quot;,&quot;groupBegin&quot;:&quot;1&quot;,&quot;value&quot;:&quot;2338791&quot;,&quot;operator&quot;:&quot;in&quot;,&quot;configurable&quot;:{&quot;sourceType&quot;:&quot;page&quot;,&quot;type&quot;:&quot;normal&quot;,&quot;value&quot;:&quot;_detailId&quot;}}],&quot;from&quot;:0,&quot;sort&quot;:[]},&quot;valueUrl&quot;:&quot;/fwebapi/cms/lowcode/125279/203182/list/value?cate=0&quot;,&quot;_dataFilter&quot;:{&quot;filter&quot;:false,&quot;showCondition&quot;:false,&quot;showSearch&quot;:false,&quot;fields&quot;:[]},&quot;datasourceType&quot;:&quot;nomarl&quot;,&quot;appId&quot;:&quot;125279&quot;,&quot;sourceUuid&quot;:&quot;1441932740135092224&quot;,&quot;pageParams&quot;:[],&quot;metaUrl&quot;:&quot;/fwebapi/cms/lowcode/125279/203182/list/meta?cate=0&quot;,&quot;disabled&quot;:false,&quot;api&quot;:&quot;/fwebapi/cms/lowcode/125279/203182/list?cate=0&quot;,&quot;id&quot;:&quot;datasource2&quot;,&quot;apiId&quot;:&quot;203182&quot;,&quot;reqKey&quot;:&quot;/fwebapi/cms/lowcode/125279/203182/list?cate=0|{\&quot;size\&quot;:2,\&quot;query\&quot;:[{\&quot;esField\&quot;:\&quot;DETAIL_ES.es_multi_category_6d5k7017\&quot;,\&quot;groupEnd\&quot;:\&quot;1\&quot;,\&quot;field\&quot;:\&quot;category_6d5k7017\&quot;,\&quot;sourceType\&quot;:\&quot;static\&quot;,\&quot;valueName\&quot;:\&quot;解决方案\&quot;,\&quot;dataType\&quot;:\&quot;array[category]\&quot;,\&quot;logic\&quot;:\&quot;and\&quot;,\&quot;groupBegin\&quot;:\&quot;1\&quot;,\&quot;value\&quot;:\&quot;2338791\&quot;,\&quot;operator\&quot;:\&quot;in\&quot;,\&quot;configurable\&quot;:{\&quot;sourceType\&quot;:\&quot;page\&quot;,\&quot;type\&quot;:\&quot;normal\&quot;,\&quot;value\&quot;:\&quot;_detailId\&quot;}}],\&quot;from\&quot;:0,\&quot;sort\&quot;:[]}|{}&quot;}">
                <input type="hidden" name="view" value="Home">
                <input type="hidden" name="pageParamsJson"
                    value="{&quot;size&quot;:2,&quot;from&quot;:0,&quot;totalCount&quot;:41}">
                <input type="hidden" name="i18nJson"
                    value="{&quot;noMore_3&quot;:&quot;没有更多了&quot;,&quot;noMore_24&quot;:&quot;没有更多了&quot;,&quot;pageItem_24&quot;:&quot;条&quot;,&quot;loadNow_3&quot;:&quot;加载中&quot;,&quot;loadNow_24&quot;:&quot;加载中&quot;,&quot;pageUnit_24&quot;:&quot;页&quot;,&quot;pageJump_24&quot;:&quot;前往&quot;,&quot;pageUnit_3&quot;:&quot;页&quot;,&quot;loadMore_3&quot;:&quot;点击加载更多&quot;,&quot;loadMore_24&quot;:&quot;点击加载更多&quot;,&quot;noData_3&quot;:&quot;暂无数据&quot;,&quot;pageItem_3&quot;:&quot;条&quot;,&quot;pageJump_3&quot;:&quot;前往&quot;,&quot;pageWhole_3&quot;:&quot;共&quot;,&quot;pageWhole_24&quot;:&quot;共&quot;,&quot;noData_24&quot;:&quot;暂无数据&quot;}">

            </div>
            <input type="hidden" name="propJson"
                value="{&quot;href_9&quot;:{&quot;type&quot;:&quot;none&quot;,&quot;value&quot;:&quot;&quot;,&quot;target&quot;:&quot;&quot;},&quot;href_8&quot;:{&quot;type&quot;:&quot;field&quot;,&quot;value&quot;:&quot;href&quot;,&quot;target&quot;:&quot;_self&quot;},&quot;href_4&quot;:{&quot;type&quot;:&quot;field&quot;,&quot;value&quot;:&quot;href&quot;,&quot;target&quot;:&quot;_self&quot;},&quot;pageConfig_24&quot;:{&quot;rolling&quot;:{&quot;navigation&quot;:true,&quot;scrollType&quot;:&quot;horizontal&quot;,&quot;pagenation&quot;:true,&quot;scrollTime&quot;:4,&quot;autoScroll&quot;:true},&quot;showJump&quot;:true,&quot;pageType&quot;:&quot;hidden&quot;,&quot;pcColumn&quot;:2,&quot;marquee&quot;:{&quot;navigation&quot;:true,&quot;marqueeTime&quot;:4},&quot;loopItem&quot;:&quot;.p_loopitem&quot;,&quot;status&quot;:true,&quot;filterPosition&quot;:&quot;&quot;,&quot;pcRow&quot;:1,&quot;moColumn&quot;:1,&quot;datasourceid&quot;:&quot;datasource2&quot;,&quot;elementid&quot;:24},&quot;setting_4&quot;:{&quot;fit&quot;:&quot;contain&quot;,&quot;isLazy&quot;:&quot;false&quot;},&quot;setting_25&quot;:{&quot;fit&quot;:&quot;contain&quot;,&quot;isLazy&quot;:&quot;false&quot;},&quot;href_29&quot;:{&quot;type&quot;:&quot;none&quot;,&quot;value&quot;:&quot;&quot;,&quot;target&quot;:&quot;&quot;},&quot;space_25&quot;:0,&quot;href_27&quot;:{&quot;type&quot;:&quot;field&quot;,&quot;value&quot;:&quot;_href&quot;,&quot;target&quot;:&quot;_self&quot;},&quot;pageConfig_3&quot;:{&quot;rolling&quot;:{&quot;navigation&quot;:true,&quot;scrollType&quot;:&quot;horizontal&quot;,&quot;pagenation&quot;:true,&quot;scrollTime&quot;:4,&quot;autoScroll&quot;:true},&quot;showJump&quot;:true,&quot;pageType&quot;:&quot;hidden&quot;,&quot;pcColumn&quot;:3,&quot;marquee&quot;:{&quot;navigation&quot;:true,&quot;marqueeTime&quot;:4},&quot;loopItem&quot;:&quot;.p_loopitem&quot;,&quot;status&quot;:true,&quot;filterPosition&quot;:&quot;&quot;,&quot;pcRow&quot;:1,&quot;moColumn&quot;:1,&quot;datasourceid&quot;:&quot;datasource1&quot;,&quot;elementid&quot;:3},&quot;href_25&quot;:{&quot;type&quot;:&quot;none&quot;,&quot;value&quot;:&quot;&quot;,&quot;target&quot;:&quot;&quot;},&quot;href_23&quot;:{&quot;type&quot;:&quot;field&quot;,&quot;value&quot;:&quot;href&quot;,&quot;target&quot;:&quot;_self&quot;},&quot;page_3&quot;:{&quot;size&quot;:6,&quot;from&quot;:0,&quot;totalCount&quot;:100},&quot;page_24&quot;:{&quot;size&quot;:6,&quot;from&quot;:0,&quot;totalCount&quot;:100},&quot;space_4&quot;:0,&quot;href_1&quot;:{&quot;type&quot;:&quot;none&quot;,&quot;value&quot;:&quot;&quot;,&quot;target&quot;:&quot;&quot;},&quot;href_14&quot;:{&quot;type&quot;:&quot;field&quot;,&quot;value&quot;:&quot;href&quot;,&quot;target&quot;:&quot;_self&quot;},&quot;href_11&quot;:{&quot;type&quot;:&quot;none&quot;,&quot;value&quot;:&quot;&quot;,&quot;target&quot;:&quot;&quot;},&quot;href_32&quot;:{&quot;type&quot;:&quot;field&quot;,&quot;value&quot;:&quot;_href&quot;,&quot;target&quot;:&quot;_self&quot;},&quot;href_31&quot;:{&quot;type&quot;:&quot;field&quot;,&quot;value&quot;:&quot;_href&quot;,&quot;target&quot;:&quot;_self&quot;},&quot;href_30&quot;:{&quot;type&quot;:&quot;field&quot;,&quot;value&quot;:&quot;_href&quot;,&quot;target&quot;:&quot;_self&quot;}}">
        </div>
        <div id="c_static_001-1646113169023" class="response-animated">
            <p class="e_text-1 s_title">
                新闻中心
            </p>
            <hr class="e_line-2 s_line">
            <div class="e_container-3 s_layout response-transition">
                <div class="cbox-3-0 p_item">
                    <div class="e_loop-4 s_list response-transition" needjs="true">
                        <div class="">


                            <div class="p_list">
                                <div class="cbox-4 p_loopitem">
                                    <div class="e_container-35 s_layout response-transition">
                                        <div class="cbox-35-0 p_item">
                                            <div class="e_image-5 s_img">
                                                <a href="https://www.57iot.com/News_Details/1523.html" target="_self">
                                                    <img src="../assets/home_files/caffe41a-59db-44e0-b1da-a39c0979d028.png"
                                                        alt="海川润泽水库信息化闭环式产品线-高品质、高性价比产品为您的项目保驾护航"
                                                        title="海川润泽水库信息化闭环式产品线-高品质、高性价比产品为您的项目保驾护航" la="la">
                                                </a>
                                            </div>
                                            <div class="e_container-32 s_layout response-transition">
                                                <div class="cbox-32-0 p_item">
                                                    <p class="e_text-33 s_title response-transition">
                                                        公司新闻
                                                    </p>
                                                    <p class="e_text-34 s_title response-transition">
                                                        <a href="https://www.57iot.com/News/2343282.html"
                                                            target="_self">
                                                            查看详情 &gt;
                                                        </a>
                                                    </p>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="e_container-8 s_layout response-transition">
                                        <div class="cbox-8-0 p_item">
                                            <p class="e_text-9 s_title response-transition">
                                                <a href="https://www.57iot.com/News_Details/1523.html" target="_self">
                                                    海川润泽水库信息化闭环式产品线-高品质、高性价比产品为您的项目保驾护航
                                                </a>
                                            </p>
                                            <p class="e_timeFormat-10 s_title response-transition"><img
                                                    src="../assets/home_files/f5b50c3a-efa5-4c51-8917-fd3e59cf10c2.png" alt=""
                                                    title="" la="la"> 2023-05-23 15:24</p>
                                            <p class="e_text-11 s_title response-transition">
                                                <a href="https://www.57iot.com/News_Details/1523.html" target="_self">

                                                </a>
                                            </p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="p_page">



                            </div>

                        </div>
                        <input type="hidden" name="_config"
                            value="{&quot;cname&quot;:&quot;新闻资讯-列表接口&quot;,&quot;type&quot;:&quot;list&quot;,&quot;params&quot;:{&quot;size&quot;:1,&quot;query&quot;:[{&quot;esField&quot;:&quot;DETAIL_ES.es_multi_category_6d5k7017&quot;,&quot;groupName&quot;:&quot;数据展示条件,默认条件组&quot;,&quot;groupEnd&quot;:&quot;2,1&quot;,&quot;field&quot;:&quot;category_6d5k7017&quot;,&quot;sourceType&quot;:&quot;static&quot;,&quot;valueName&quot;:&quot;公司新闻&quot;,&quot;dataType&quot;:&quot;array[category]&quot;,&quot;logic&quot;:&quot;and&quot;,&quot;groupBegin&quot;:&quot;1,2&quot;,&quot;value&quot;:&quot;2343282&quot;,&quot;operator&quot;:&quot;in&quot;}],&quot;from&quot;:0,&quot;sort&quot;:[]},&quot;valueUrl&quot;:&quot;/fwebapi/cms/lowcode/60003/87908/list/value?cate=0&quot;,&quot;_dataFilter&quot;:{&quot;filter&quot;:false,&quot;showCondition&quot;:false,&quot;showSearch&quot;:false,&quot;fields&quot;:[],&quot;showSearchCname&quot;:&quot;&quot;},&quot;appId&quot;:&quot;60003&quot;,&quot;sourceUuid&quot;:&quot;1441932740135092224&quot;,&quot;pageParams&quot;:[],&quot;metaUrl&quot;:&quot;/fwebapi/cms/lowcode/60003/87908/list/meta?cate=0&quot;,&quot;disabled&quot;:false,&quot;api&quot;:&quot;/fwebapi/cms/lowcode/60003/87908/list?cate=0&quot;,&quot;id&quot;:&quot;datasource1&quot;,&quot;apiId&quot;:&quot;87908&quot;,&quot;reqKey&quot;:&quot;/fwebapi/cms/lowcode/60003/87908/list?cate=0|{\&quot;size\&quot;:1,\&quot;query\&quot;:[{\&quot;esField\&quot;:\&quot;DETAIL_ES.es_multi_category_6d5k7017\&quot;,\&quot;groupName\&quot;:\&quot;数据展示条件,默认条件组\&quot;,\&quot;groupEnd\&quot;:\&quot;2,1\&quot;,\&quot;field\&quot;:\&quot;category_6d5k7017\&quot;,\&quot;sourceType\&quot;:\&quot;static\&quot;,\&quot;valueName\&quot;:\&quot;公司新闻\&quot;,\&quot;dataType\&quot;:\&quot;array[category]\&quot;,\&quot;logic\&quot;:\&quot;and\&quot;,\&quot;groupBegin\&quot;:\&quot;1,2\&quot;,\&quot;value\&quot;:\&quot;2343282\&quot;,\&quot;operator\&quot;:\&quot;in\&quot;}],\&quot;from\&quot;:0,\&quot;sort\&quot;:[]}|{}&quot;}">
                        <input type="hidden" name="view" value="Home">
                        <input type="hidden" name="pageParamsJson"
                            value="{&quot;size&quot;:1,&quot;from&quot;:0,&quot;totalCount&quot;:37}">
                        <input type="hidden" name="i18nJson"
                            value="{&quot;noMore_4&quot;:&quot;没有更多了&quot;,&quot;pageUnit_4&quot;:&quot;页&quot;,&quot;loadNow_4&quot;:&quot;加载中&quot;,&quot;loadNow_36&quot;:&quot;加载中&quot;,&quot;noMore_36&quot;:&quot;没有更多了&quot;,&quot;pageUnit_36&quot;:&quot;页&quot;,&quot;noData_4&quot;:&quot;暂无数据&quot;,&quot;pageJump_36&quot;:&quot;前往&quot;,&quot;loadMore_4&quot;:&quot;点击加载更多&quot;,&quot;loadMore_36&quot;:&quot;点击加载更多&quot;,&quot;pageItem_4&quot;:&quot;条&quot;,&quot;pageJump_4&quot;:&quot;前往&quot;,&quot;pageWhole_4&quot;:&quot;共&quot;,&quot;pageItem_36&quot;:&quot;条&quot;,&quot;pageWhole_36&quot;:&quot;共&quot;,&quot;noData_36&quot;:&quot;暂无数据&quot;}">

                    </div>
                </div>
                <div class="cbox-3-1 p_item">
                    <div class="e_loop-36 s_list response-transition" needjs="true">
                        <div class="">


                            <div class="p_list">
                                <div class="cbox-36 p_loopitem">
                                    <div class="e_container-37 s_layout response-transition">
                                        <div class="cbox-37-0 p_item">
                                            <div class="e_image-38 s_img">
                                                <a href="https://www.57iot.com/News_Details/4281.html" target="_self">
                                                    <img src="../assets/home_files/563d1550-3904-4464-a29d-8ed1e9417f94.jpg"
                                                        alt="喜讯 | 海川润泽荣获2024年度福建省数字经济核心产业创新企业“瞪羚”企业称号"
                                                        title="喜讯 | 海川润泽荣获2024年度福建省数字经济核心产业创新企业“瞪羚”企业称号" la="la">
                                                </a>
                                            </div>
                                            <div class="e_container-39 s_layout response-transition">
                                                <div class="cbox-39-0 p_item">
                                                    <p class="e_text-40 s_title response-transition">
                                                        <a href="https://www.57iot.com/News/2343284.html"
                                                            target="_self">
                                                            行业新闻
                                                        </a>
                                                    </p>
                                                    <p class="e_text-41 s_title response-transition">
                                                        <a href="https://www.57iot.com/News/2343284.html"
                                                            target="_self">
                                                            查看详情 &gt;
                                                        </a>
                                                    </p>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="e_container-42 s_layout response-transition">
                                        <div class="cbox-42-0 p_item">
                                            <p class="e_text-43 s_title response-transition">
                                                <a href="https://www.57iot.com/News_Details/4281.html" target="_self">
                                                    喜讯 | 海川润泽荣获2024年度福建省数字经济核心产业创新企业“瞪羚”企业称号
                                                </a>
                                            </p>
                                            <p class="e_timeFormat-44 s_title response-transition"><img
                                                    src="../assets/home_files/f5b50c3a-efa5-4c51-8917-fd3e59cf10c2.png" alt=""
                                                    title="" la="la"> 2024-06-21 16:31</p>
                                            <p class="e_text-45 s_title response-transition">
                                                <a href="https://www.57iot.com/News_Details/4281.html" target="_self">

                                                </a>
                                            </p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="p_page">

                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </div>
  </div>
</template>
  
<script setup>
import {
  listCarousel,
  listIntroduce,
  listAnnualPass,
  listCulturalRelic,
  listFood,
  listTicket,
  listActivity,
  addMessage,
  listAnnouncement,
  listVideo,
  getVideo,
  gettickLikes,
  getLikes,
  listTurnOver
} from "@/api/serch/index";
const apiUrl = process.env.VUE_APP_API_URL;
import Velocity from "velocity-animate";
import { ElMessage } from "element-plus";
import { useRouter } from "vue-router";
import { ref, onMounted, reactive, toRefs, nextTick } from "vue";
import Swiper, { Pagination, Navigation } from "swiper";
import "swiper/css/swiper.min.css";
const animateBox = ref([])
const images = ref([
  // { url: require("@/assets/banners/banner_home.jpg") }
  // 添加更多图片URL
]);
const data = reactive({
  form: {},
 
  rules: {
    question: [
      { required: true, message: "留言内容不能为空", trigger: "blur" },
    ],
    phone: [{ required: true, message: "联系方式不能为空", trigger: "blur" }],
  },
});

// 文物/美食/组团
const currentTab = ref(0);
const tabs = ref([
  { name: "古建文物", id: "1", likes: [], data: [] },
  { name: "美食搜罗", id: "2", likes: [], data: [] },
  { name: "组团游", id: "3", likes: [], data: []},
]);
const Lists = ref();
const indexs = ref();
const router = useRouter();
function changeTab(index) {
  indexs.value = index;
  currentTab.value = index;
  const curTab = tabs.value.find((item, tIndex) => tIndex === index);
  const uniqueArr = [...new Set(curTab.likes)]
  // 避免重复请求
  if(curTab.data.length !== 0) {
    Lists.value = curTab.data;
    lightLikeIcon(uniqueArr);
    return;
  }
  if (index == "0") {
    let Params = {
      pageNum: 1,
      pageSize: 8,
    };
    listCulturalRelic(Params).then((response) => {
      Lists.value = response.data.rows;
      curTab.data = Lists.value;
      lightLikeIcon(uniqueArr);
    });
  } else if (index == "1") {
    let Params = {
      pageNum: 1,
      pageSize: 8,
    };
    listFood(Params).then((response) => {
      Lists.value = response.data.rows;
      curTab.data = Lists.value;
      lightLikeIcon(uniqueArr);
    });
  } else {
    let Params = {
      pageNum: 1,
      pageSize: 8,
    };
    listTicket(Params).then((response) => {
      Lists.value = response.data.rows;
      curTab.data = Lists.value;
      lightLikeIcon(uniqueArr);
    });
  }
}
function lightLikeIcon(arr) {
  Lists.value.forEach((item) => {
    item.isLike = !!arr.includes(item.id)
  });
}


const currentTabs = ref(0);
const vList = ref({});
const changeTabs = (id, index) => {
  getVideo(id).then((response) => {
    vList.value = response.data.data;
  });
  currentTabs.value = index;
};

/** 查询轮播图列表 */
const carouselList = ref({
  status: "Y",
  type: "1",
});
function getCarouselList() {
  listCarousel(carouselList.value).then((response) => {
    images.value = response.data.rows;
  });
}




changeTab(0);
getCarouselList();
// getVideoList();
</script>
  
<style lang="scss" scoped>
@import "../assets/home_files/Home_19c9f3c4101ae289cb74278a4fea4c85.min.css";
@import "../assets/home_files/ceccbootstrap.min.css,global.css";
.main {
  .swiper-button-next,
  .swiper-button-prev {
    /* 隐藏默认的背景色和箭头 */
    color: transparent;
    background-image: none;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    content: none;
  }

  .margin {
    margin-top: 136px;
  }
  .margins {
    margin-top: 60px;
  }
  .bgbox {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background-image: url("@/assets/lenbg_s.jpg");
    background-size: 1920px 900px;
    background-repeat: no-repeat;
    background-position: 50% 0;
    .Carouselbox {
      :deep(.el-carousel__arrow--left){
        color: transparent;
        background-image: url("@/assets/home/banner_l.png");
        background-size: 54px 54px;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        width: 64px;
        height: 84px;
        border-radius: 6px;
        position: absolute;
        top: 50%;
        left: 7.6%;
        transform: translateY(-50%);
        svg {
          -webkit-user-select:none; 
          -moz-user-select:none; 
          -ms-user-select:none; 
          user-select:none;
        }
      }

      //右箭头
      :deep(.el-carousel__arrow--right){
        color: transparent;
        background-image: url("@/assets/home/banner_r.png");
        background-size: 54px 54px!important;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        width: 64px;
        height: 84px;
        border-radius: 6px;
        position: absolute;
        top: 50%;
        right: 7.6%;
        transform: translateY(-50%);
        background-size: cover;
        svg {
          -webkit-user-select:none; 
          -moz-user-select:none; 
          -ms-user-select:none; 
          user-select:none;
        }
      }
    }
    
  }
}
</style>
 
  